#include "gamewidget.h"
#include <QApplication>

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);

    GameWidget game;
    game.resize(600, 400);  // 初始窗口大小
    game.setWindowTitle("经典贪吃蛇");
    game.show();

    return app.exec();
}
